﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ElectronicsMarket.Service.Models;
using System.ServiceModel;

namespace ElectronicsMarket.Service.IService
{
    [ServiceContract]
    interface ICategoryService
    {
        [OperationContract]
        IQueryable<CATEGORY> getAllCategory();

        [OperationContract]
        CATEGORY getCategoryById(int id);
    }
}